﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="1004.aspx.cs" Inherits="_1004" %>

<%@ Register Assembly="MattBerseth.WebControls" Namespace="MattBerseth.WebControls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script type="text/javascript">
	function update(msg) {
		
		tb_remove();
		alert(msg);
	}

	function pageLoad(sender, args) {
		if (args.get_isPartialLoad()) {
			//  reapply the thick box stuff
			tb_init('a.thickbox, input.thickbox,');
		}
	}
	</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
	<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
		SelectCountMethod="Get_youtube_AllData_Count" SelectMethod="Get_youtube_AllData"
		TypeName="CCH.DAO.youtubeDAO" EnablePaging="True"></asp:ObjectDataSource>
	<table class="webpath">
		<tr>
			<td style='vertical-align: middle'>
				<img src="images/photo/home.gif">
			</td>
			<td style='vertical-align: middle'>
				<a href="index.aspx"><% Response.Write("首頁".ConverToCN());%></a>
			</td>
		</tr>
	</table>
	<div class="health_edu_vido">
		<div class="health_edu_vido_list_head">
		</div>
		<div id="maincol_mod_list" class="maincol_mod_list">
			<asp:ListView ID="ListView1" runat="server" DataSourceID="ObjectDataSource1">
				<EmptyDataTemplate>
					<p>
						<span id="sp_DATA"><% Response.Write("查無資料".ConverToCN());%></span></p>
				</EmptyDataTemplate>
				<ItemTemplate>
					<p>
						<span id="sp_DATA"><a class="thickbox" href='<%# Eval("you_no", "1004-1.aspx?you_no={0}&modal=true&TB_iframe=true") %>'>
							<%# Eval("you_name").ConverToCN()%></a></span></p>
				</ItemTemplate>
			</asp:ListView>
		</div>
		<div id="maincol_mod_foot">
		</div>
		<div class="pager">
			<asp:DataPager ID="DataPager1" runat="server" PagedControlID="ListView1" PageSize="20">
				<Fields>
					<CCH:GooglePagerField />
				</Fields>
			</asp:DataPager>
		</div>
	</div>
	
</asp:Content>

